﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterHome.Master" AutoEventWireup="true"
    CodeBehind="ListProduct.aspx.cs" Inherits="ADC.Web.ListProduct" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

 <div class="listproduct">
        <div class="listproduct-header">
            ĐIỀU HÒA <asp:Label ID="lblHeader" runat="server" ></asp:Label></div>
<asp:ListView ID="ListViewProducts" runat="server">
                    <LayoutTemplate>
                        <asp:PlaceHolder ID="itemPlaceholder" runat="server" />
                    </LayoutTemplate>
                    <ItemTemplate>

                    <div class="listproduct-item">
                                <table cellpadding="0" cellspacing="0" border="0" width="690px">
                                    <tr>
                                        <td class="listProduct-image">
                                            <img height="160px" width="160px" src='<%#Eval("ImagePath") %>'>
                                        </td>
                                        <td class="listproduct-detail">
                                            <div class="listproduct-title">
                                                <asp:Label ID="lblName" runat="server" Text='<%#Eval("Name") %>'></asp:Label>
                                            </div>
                                            <p class="listproduct-description">
                                                <asp:Label ID="lblDescription" runat="server" Text='<%#Eval("Description") %>'></asp:Label>

                                            </p>
                                            <p>
                                                <b>Loại:</b> <asp:Label ID="lblModel" runat="server" Text='<%#Eval("Model") %>'></asp:Label>
                                            </p>
                                            <p>
                                                <b>Công suất:</b> <asp:Label ID="lblPower" runat="server" Text='<%#Eval("Power") %>'></asp:Label>
                                            </p>
                                            <p>
                                                <b>Xuất xứ:</b> <asp:Label ID="lblMadeIn" runat="server" Text='<%#Eval("MadeIn") %>'></asp:Label>
                                            </p>
                                            <p>
                                                <b>Công nghệ:</b> <asp:Label ID="lblTech" runat="server" Text='<%#Eval("Tech") %>'></asp:Label>
                                            </p>
                                            <p>
                                                <b>Bảo hành:</b> <asp:Label ID="blWarranty" runat="server" Text='<%#Eval("Warranty") %>'></asp:Label>
                                            </p>
                                        </td>
                                        <td class="listproduct-price">
                                            <p>
                                                Giá: <asp:Label ID="lblPrice" runat="server" Text='<%#Eval("Price") %>'></asp:Label>đ</p>
                                            <div class="listproduct-price-detail">
                                                <a href='ProductDetails.aspx?ID=<%#Eval("ProductID") %>'> <img src="Images/product-detail.jpg" /></a>
                                            </div>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                    </ItemTemplate>
                </asp:ListView>
    </div>
</asp:Content>
